<template>
    <div>{{text}}</div>
</template>

<script>
    define(["Vue"], function(Vue) {
        Vue.component("my-component", {
            template: template,
            data: function() {
                return {"text": "Ok"};
            }
        });
    });
</script>

<style>
    div {
        border: 1px solid;
    }
</style>